#include<stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include<stdlib.h>



int main(int argc, char *argv[])
{
    FILE *fp = fopen("data", "w+");
    char buf[1024];
    int k;
    int i;
    int h;
    int j;
    srand(time(NULL));
    for (k=0;k<=atol(argv[1]);k++) {
        j  = random();
        j  = (j % 88) + 1;
        for(i=0;i<j; i++) {
            h = random();
            h = (h % 50)+40;
            buf[i] = h;
        }
        buf[j] = 0;
        fprintf(fp, "%s\n", buf);
    }
}
